package com.mapper;

import com.model.TUserAuth;
import com.model.vo.TUserAuthVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TUserAuthMapper extends Mapper<TUserAuth> {

    /**
     * 根据用户ID获取用户实名认证信息
     * @param:
     * @return:
     * @author:TZJ
     * @date: 2017/11/7 9:48
     */
    TUserAuth selectByUserId(@Param("userId") Integer userId);

    List<TUserAuthVo> getUserAuthList(
            @Param("userId")Integer userId,
            @Param("tuiPhone")String tuiPhone,
            @Param("realName")String realName,
            @Param("idCard")String idCard,
            @Param("status")Integer status,
            @Param("startTime")String startTime,
            @Param("endTime")String endTime);
}